//
//  XHOrderCell.m
//  elxc
//
//  Created by 冷山 on 16/3/14.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import "XHOrderCell.h"

#import <SDWebImage/UIImageView+WebCache.h>

@interface XHOrderCell()

@end


@implementation XHOrderCell

- (void)awakeFromNib
{
    [self.ui_helpButton setRightImage];
    self.ui_payButton.layer.masksToBounds=YES;
    self.ui_payButton.layer.borderColor=[ColorManager colorWithHexString:@"#E45252"].CGColor;
    self.ui_payButton.layer.borderWidth=1;
    self.ui_payButton.layer.cornerRadius=5;
    self.ui_tagLabel.layer.cornerRadius=2;
    self.ui_tagLabel.layer.masksToBounds=YES;
    self.ui_borderView.layer.borderColor=[ColorManager colorWithHexString:@"#d3d3d3"].CGColor;
    self.ui_borderView.layer.borderWidth=0.5;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)helpButtonAction:(id)sender {
    if ([self.delegate respondsToSelector:@selector(helpButtonAction:)]) {
        [self.delegate helpButtonAction:self];
    }
}

- (IBAction)payButtonAction:(id)sender {
    if ([self.delegate respondsToSelector:@selector(payButtonAction:)]) {
        [self.delegate payButtonAction:self];
    }
}

@end
